﻿<%@ page language="C#" autoeventwireup="true" inherits="MembershipCard_wechat_web_Address2, App_Web_2j4u444m" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta content="initial-scale=1.0,user-scalable=no,maximum-scale=1,width=device-width" name="viewport" /> 
<meta name="viewport" content="initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
<meta content="yes" name="apple-mobile-web-app-capable" /> 
<meta content="black" name="apple-mobile-web-app-status-bar-style" /> 
<meta content="telephone=no" name="format-detection" />
<link type="text/css" href="css/index.css" rel="stylesheet" />
<title>收货地址</title>
</head>
<body>
    <form id="form1" runat="server">
  <div class="indexmenu">
     <ul>
       <li><span><a href="javascript:history.go(-1);"><em class="indexicon1"></em></a></span></li>
        <li><span><a href="Products2.aspx"><em class="indexicon2"></em></a></span></li>
         <li><span><a href="shouhuo2.aspx"><em class="indexicon3"></em></a></span></li>
          <li runat="server" id="sumcar"><span><a href="ShopCar2.aspx"><em class="indexicon4"></em></a></span></li>
    </ul>
</div>

<div class="order" runat="server" id="addlist">
 
 
   <%--<div class="btn" style="margin-bottom:20px;"  onclick="add()">新增收货地址</div>
   
   <div class="order_address_cao" onclick="settime(id)">
    <p>刘友仙：13764779226<br />
    上海市闵行区贵都路209弄55号103室</p>
    <div class="order_address_btn">
      <ul>
         <li><a href="#" onclick="up(1)"><span class="order_editor">修改</span></a></li>
         <li><a href="#" onclick="return del(1)"><span class="order_delete">删除</span></a></li>
      </ul>
    </div>
  </div>--%>
   
</div>
<asp:Button ID="Button1" class="btn" Width="100%" Style="display: none;" runat="server"
                Text="保存" OnClick="Button1_Click" />
                <asp:Button ID="Button2" class="btn" Width="100%" Style="display: none;" runat="server"
                Text="设为默认地址" OnClick="Button2_Click" />
                <input type="hidden" runat="server" id="aid" />
    </form>
</body>
</html>
<script type="text/javascript">
    function add() {
        location = "AddressEdit2.aspx?g=<%=g %>";
    }

    function dd() {
        document.getElementById("Button1").click();
    }

    function up(id) {
        location = "AddressEdit2.aspx?g=<%=g %>&id=" + id;
    }

    function del(id) {
        if (confirm("是否确定删除?")) {
            location = "Address2.aspx?did=" + id;
            return true;
        }
        return false;
    }

    function settime(id) {
        document.getElementById("aid").value = id;
        document.getElementById("Button2").click();
    }
</script>